package com.itheima.common.constants;

public abstract class RocketMQConstants {

    public static final class TOPIC {
        /**
         * 用户服务
         */
        public static final String USER_TOPIC_NAME = "nc-user-topic";

        /**
         * 短信服务
         */
        public static final String SMS_TOPIC_NAME = "nc-sms-topic";

    }

    public static final class TAGS {
        /**
         * 用户申请 消息 TAGS
         */
        public static final String USER_APPLY_TAGS = "user-apply";
        /**
         * 发送短信验证码TAGS
         */
        public static final String VERIFY_CODE_TAGS = "sms-verify-code";
    }

    public static final class CONSUMER {
        /**
         * 用户申请消息 消费者组
         */
        public static final String USER_APPLY_CONSUMER = "USER_APPLY_CONSUMER";

        /**
         * 短信发送 的消费者
         */
        public static final String SMS_VERIFY_CODE_CONSUMER = "SMS_VERIFY_CODE_CONSUMER";

    }
}
